Attempt to resolve shader compilation error on osx.