Fix OpenGL build under Windows