Modify using my_readlink(enable readlink -f option for mac) function