Fixed shader loading errors

Shader loading worked poorly on Windows. Now better.