zlib support for lens