zlib fork for NativeClient