enable protobuf support for configuring; add protobuf format for SGVector