Shader fixes for windows