When compiling mingw-w64 gcc provides us with a -no-pthreads option because it is linked in by default
If we want to build mingw-w64 with clang and not gcc we must not link to pthreads
clang currently fails at building mingw-w64 because it errors out for unknown argument.
The handling of the argument in the driver is superficial atm because we don't link to it by default