adding thrift to build