Make the toggling of g_Gl2Compatible automatic by using a #define.