Fix up removal of the build dir.