changed the way the tmp dir is deleted after build