Repaired toolchain build script, and the others.