Thrift-2229:thrift failed to build on OSX 10.9 GM
Client: build
Patch: jfarrell, bcraig, Hans Duedal

Final patch which automates std c++11 detection and flag addition.