BLD: fix build issues with MSVC10 on Windows.  Closes gh-4245.

Note that there are a few similar patches posted to gh-4101 and gh-4245. Those were all patches to msvc9compiler in Python distutils. Monkeypatching ``MSVCCompiler.link`` is less easy than this change to ``config._check_compiler``; effect should be the same.

I don't have MSVC and TravisCI tests don't help here, so needs some manual testing. I'll ping some people who have had issues with this.
I added one at first, but then removed it because a try-except block isn't going to help in that case (the code below can't really fail, and ``get_build_version`` shouldn't either). Doesn't hurt either though.