refact the tool chains dir