Fixed detection of MSYS on Windows