Fix zlib detection when there is no pkg-config file

2 jobs for zlib-fallback in 2 minutes and 8 seconds (queued for 3 seconds)
Status Job ID Name Coverage
  Manifest
passed #47011
manifest

00:00:20

 
  Build
passed #47012
build fedora x86_64

00:01:47