Update to libpng 1.6.10.
Fixes for build-all.sh after actually using it.