on windows escape kompile and pdf arguments too(for consistency with previous commit)