Fix libpng build script