Adjusted link flags for Mac OS X

First, glfw3 builds as libglfw3 by default, so we link against that.
Then, we have to link a few frameworks, to get rid of missing symbols.