Fix protobuf compilation