distrib-dirs: replace symlink if it is dangling