Correctly Fix the rule for compiling protobuf files (#693)