upgrade to glfw3