remove zlib dependency