build: grab full paths to host tools

This ensures that make will work even if PATH has changed after configure, which is often the
case when cross-compiling.

Fixes cross builds when integrated into Bitcoin's repo.