Fix the build issue on Macports-installed libpng

Pull libpng in tree to avoid the configuration issue related to libpng.