Fix MSVC2013 build.
Fix MSVC 2010 support.