clean .tmp directory on build