Kompile temp dirs

Resolves #1059 at the cost of more verbose messages in ktest output since we run everything using --debug now.