Fix problem when zlib is not available.