bin/upd: handle msys2 properly