Upgrade project to MSVC 2012.
Fix x64 target when compiling a static library.
Use static MSVCRT.dll instead of MSVCRTnnn.dll