Script for building toolchain.