solve cross-platform protoc