Rewrite toolchains install process