Have try_compile_and_run output to tmpexedir instead of tmpdir.