Fix OpenGL interop for windows