If zgrep isn't available, maybe you could check if zcat and grep can be used instead of zgrep.