linux: fix for _readlnk evaluation