BF: work round ugly MSVC manifest bug

Link a shared library rather than an executable to avoid nasty Windows
MSVC 10+ bug (http://bugs.python.org/issue4431).
Merge pull request #530 from matthew-brett/check-linking-with-lib

Great! thanks!