#153 use realpath instead of readlink