Define GLX_GLEXT_LEGACY to fix issue #570