Remove GL Header usage
Fix compilation on Linux
Fix compilation on OSX