fix GetExecutablePath test for mingw