Fix libGLEW build for OS X

Change-Id: I996f88544c4cdedaf8aa047abb1888409b949800