Fixed msvc2012 build issue