Use pkg-config for OpenGL

This eliminates the need to have those odd OpenGL flags for OSX, it's
just in the magic pkg-config file I manually install there.