use GL instead of AGL on osx
Merge pull request #2 from cbenhagen/osxbuild

use GL instead of AGL on osx