Removed direct zlib dependency