msvc2013 adaptation