add zlib support

Add zlib support, it's sometime useful.