Use OpenGL framework on OSX.