Fix for open GL build where MG changed the scope of the extensions class.