Remove zlib dependency and usage