Completed toolchain preparation, changed DefaultConfig to use toolchain
Fixed error where toolchainw would not detect darwin properlu
Fix wrong use of mktemp on darwin
Fixed curl error.