Replace symlinks if they point inside the fresh build directory.