Currently, libraries installed next to GCC are preferred over those next to Clang. Make this behaviour configurable during build.
This is for example needed to make sure we get LLVM's libunwind.so.1 and don't end up with the system default non-GNU libunwind.so.8 as reported in D25008.