Only compile in zlib for non-SLIM builds.