Fix for newer glfw