Fix gl1 hi-res regression, pkgconfig and make-dist fixes.