After a successful build, remove the scratch directory.