MSVC support.

Ugh, all this is stupid stuff that MSVC should figure out on its own.