readlink failed on mac