Fix includes for Mac OS X
Update code for GLFW-b >= 1.0
Update bounds of dependencies