Fixes build, adds GLEW option in OSX build.

Signed-off-by: Adrien <berthet.a@gmail.com>