(qb) Fix OS detection under msys2