You need zlib and zlib-devel. These are where the compress and uncompress functions exist. Disabling ICU will make you quite unhappy; many modules are encoded UTF-8, and thus depend on that kind of support. Better to get the packages and install them, than to cripple the build without UCI.