Fix script to work under cygwin on windows
Fix bug in example script
Update ksp target to work under cygwin on windows