MSVC 2010 compatibility