Improve parameter handling in buil_toolchain.