Find libpng and zlib unified way.