fix fallback for selecting toolchain