work if TMPDIR is not set, add missing command prefix