fix for MSVC 2012