Fix MSVC build. FormatError -> FormatMessage to avoid ambiguity.