change thrift dependency