Remove dependency on zlib