Fix msvc2012 build