Fix opengl headers for Mac osX

#346 talked about it.

@nizar-sallem, I found it easier to just make the PR.