My guess as a layperson is that MS keeps reusing code which probably dates from the XP days, if not earlier, for large parts of its OS. They just changed the outward appearance of the OS, added some features, but didn't always update their compilers to take advantage of the latest architectures...