Bash evaluation of whereTo in linking was incorrect