If libpng isn't there, there's no reason to include zlib in the path (since then WPS doesn't require it).