httpd{22,24}: fix zlib detection on Xcode-only