Fix libpng script