[MINGW32] Add some definitions to fix building with GLIBCXX