Remove unused libraries and gl.{cpp,h}