Fix C++11 compilation flags with MinGW