added thrift to dependencies