Fixed compilation with the current GLFW version.