Fixed build, added some logging to libGL