added `greadlink` check for Darwin (OS X)

same code is already used in dropShell.sh