Use realpath to follow symlinks (important for homebrew).
Merge pull request #27 from hammerdr/realpath

Use realpath to follow symlinks