Fixed shading artifacts. Fixed windows build.