Disable shader validation due to OSX bug.

Apparently checking if a shader is valid is invalid on OSX.
Disable it for now.

@eloquentmess this should get OSX working again and fix ##3259

Will merge immediately.