Fixed readlink for OS X
Merge pull request #2 from bydavy/FixedReadlink

Fixed readlink for OS X