Make zlib wrapper work