update build script for new toolchain