Utility: fix test for scientific representation on MinGW.

MinGW GCC behaves the same as MSVC.