Support for cases where the gl header does not include GL_ARB_TIMER_QUERY

Hopefully this will now compile on OS X, and run without errors.