recognize targets of broken symlinks (fixes #47)