When catalyst is used to cross compile an arm stage on an x86 computer the get_libdir() function un chroot-functions.sh return an empty value. When the script try to configure distcc to allow cross compilation the path used is /usr//distcc and not /usr/lib/discc as expected. Reproducible: Always