Fixed check_toolchain