delete thrift lib