add readlink -f clone for OSX