Better link following on OS X

Works properly with alias to installed shoes per pirate_game as well.

Thanks @plexus!