fix READLINK non-support of -f option