Fixes Bug 970567 -- make distcc builds work for both HOST and TARGET compilation