added check for zlib.output_compression