Use CMAKE_CXX_FLAGS so that linker gets the right flags.
Enable glewExperimental for MacOS X due to misreported extensions.
Open glfw window using forward compatible OpenGL 3 context.