fix build with MSVC2012