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

This fixes anarki's startup on OSX.