add protobuf build script.