use GL instead of AGL on osx