Delay the thread count check until after the toolchain file has been included