support compiling on OSX with standard GLUT