Show symlink target if linking fails

Closes #21060.