fix up for GLFW>=2.7.8