Fix symlinks resolution.