Look up location of 'ld' etc. in the 'gcc --info' output.

Fixes #1528.