compatebility fixes

required Google ProtocolBuffers 2.6
Projects created in Xcode 6.0