Fixed #67. Added better support for Protobuf 2.5.0.