readlink is not portable in this way across GNU/BSD usage