build script: add option to select toolchain