Change build scripts to use libpng.