replace -std=c++0x by -std=gnu++0x for compatibility with mingw32ce