Update code to make VS compatibility

Fixes the OpenGL VS2013 solution to make it compatible with Windows OS.