Simplify and fix handling of 'kit.exe' instead of 'kit' on Windows.