more mingw/C++ 11 compat