Thrift: Update to 0.9.1 and fix build on OS X 10.9

* Enable build on C++11 and add patches to fix clang errors.
* Disable building tests (otherwise the build fails due to missing
  files)
* Add the missing dependency to pkg-config on the HEAD build.