Make zlib optional.