Fixed context creation on OS X.

See http://www.glfw.org/faq.html#how-do-i-create-an-opengl-30-context
Preliminarily fixed graphical glitches under OS X