Use 'greadlink' instead of non gnu 'readlink' when running on OSX.
Merge pull request #16 from svetlyak40wt/fix-startup-on-osx

Use 'greadlink' instead of non gnu 'readlink' when running on OSX.