fix krun on cygwin