fix standard cmd shell check

all of the latexmk and util library assumes that
under MS Windows the cmd shell is used.

The commit does this assumption justice.