fixing mingw with -std=gnu++0x