Fix OpenGL examples on Mac OS X (fixes #66)