fix #800
on windows escape kompile and pdf arguments too(for consistency with previous commit)
Merge pull request #880 from dwightguth/master

Merge ktest fix into master