Adjust CMake module to provide correct deps on OSX

Module will now give the OpenGL framework as a dependency instead of the
nonexistent libGL.
Merge pull request #548 from jdpage/master

Adjust CMake module to provide correct deps on OSX