Enabling Swift language on WIndows picks the wrong linker potentially
When enabling the Swift language and the C language, and mingw is available and on the path, CMake may select the GNU linker rather than the Windows linker, which fails to link and build projects.