Bug 1067679 - mingw fixup.
Bug 1057331 - mingw fixup (const char16_t*/char16ptr_t mismatch).