Remove use of protobuf extensions (unsupported in protobuf-c).