Bug 1114052 - Don't include Windows headers inside a namespace. r=paolo
Bug 1101625 - mingw fixup.