This kills the funky GL logging stubs, which unnecessarily complicates the build process (think future cmake). As for logging GL calls: Use apitrace for that https://github.com/apitrace/apitrace
Change most __linux__ defines to __unix__ for all UNIX like systems.
Excluding 3rd party files.