Fix Opengl pre 3.0 context creation.