Change Readlink to Greadlink for Mac.