Patch 2 of N: added code to hook into host-gcc-final