Better error reporting if zlib or libpng are not static

Tell the specific library which is not static.
Previously any would be reported as libpng.

This fixes #17

Signed-off-by: Frediano Ziglio <freddy77@gmail.com>
Acked-by: Jakub Janků <jjanku@redhat.com>
1 job for master in 4 minutes and 18 seconds (queued for 29 minutes and 22 seconds)
latest
Status Name Job ID Coverage
  Test
passed fedora-mingw #10258925

00:04:18