Remove all Thrift dependencies from CC project.