build fix for protobuf 2.5.0rc1