Updated to use definitions in latest <OpenGL/gl3.h> header file provided with OS X 10.9.x.
Modified to be compatible with gl3.h

Apple changed the OpenGL headers with OS X 10.9. Apple’s changes to
better meet standards required changes to this code.