grepping for gcc can match other linker error lines

- also don't grep stderr
Merge pull request #89 from MartinNowak/fixLink

grepping for gcc can match other linker error lines