If curl DEPENDS on zlib, tell curl where to find it
Compare changes
configure cannot find by itself the LCG-provided zlib on which curl is supposed to depend. It either takes system version or silently switches off support for zlib. This commit fixes the problem.