Remove .tmp when build is complete