Fixed undefined #defines in mingw and c++0x

It looks like mingw does not define all the stuff in c++0x it does
without.