integrate libpng and zlib