Fixing libGL and others