Fixed linking on osx with glfw 3.0.4.
Fixed shortcut keys on osx.