Fix segmentation fault in GLEW

Pretty old GPU have problem with GLEW.

This PR fix this in a simply manner.

Sorry for the space indentation. I don't know if a coding convention has been adopted.