backwards compatibility with C++10 (MinGW x86)