after a successful build, remove its working directory