add linking directive to opengl libraries

fix osx linking error on gwen.dlyb