fix linking with GLFW link on OSX