Fix missing compiled file, remove tmpdir