Fix build for the proto type conflict with a recent version of zlib.