For OSX

Apparently checking is 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.