HBAO+ 2.4 build black output issue on Unity 5.4

I’ve added HBAO+ in my game. Everything works fine in the editor but in build the output becomes black if the QualitySettings are changed in game.

I know that another developed fixed it in 2015 but I couldn’t managed to do it based on his suggestions only

Anybody willing to help?