add global support for zlib