change dir after install thrift