add support to readlink -f, readlink and perl