fix msvc12 build