C++ 11 fixes (bad option for Mingw