Remove target directories.