Work around error with zlib library compressor