Change c++11 standard to gnu++11 to build with MinGW