ext-toolchain-wrapper: fix paths if executable was resolved by PATH
http://patchwork.ozlabs.org/patch/247210/