check for presence of zlib to support bpf compression

Issue #367