thrift: Update formula to use thrift 0.9.1 and work around issues with c++-11. ...

... Based almost entirely on duedal's gist at https://gist.github.com/duedal/6934417

Compiles successfully with latest xcode