fix for MSVC 2012 (c++11)