use cflags/libs information from pkg-config zlib

Previously on systems where "-lz" was not included in "pkg-config
--libs libpng" using the system library failed (e.g. on Fedora 20).

Reported in https://rt.cpan.org/Ticket/Display.html?id=86988
Merge branch 'png-lz' into XXX-merge