Fix OpenGL linker error on Yosemite

Noticed an OpenGL library was missing at the linker phase.

edit: duplicate of #1361