Fixed a build error when using older versions of GLFW