When using gcc -print-search-dirs to add ABI library directories,
make sure to do it _after_ adding other ABI directories, so that
their relative position in the link order is preserved. If this
is not done so, the order between lib directories will not match
the order between include directories, leading to weird problems
if a package exists in more than one location.