Fixed compilation when protobuf is not found.