Handle dependencies that are symlinks.