Better symbolic link detection