fix for protobuf 2.5.0