Add compatibility with GLFW3

With these modifications, GLV will not try to load GL stuff if it is included after GLFW.