honor REGAL_LOAD_GL variable on osx