Selectively enable C++11 for mingw