Use 'llvm-config --components' to determine available components rather
than relying on '--libs' to fail for non-available. This should fix
false positives when dylib is used.
Technically, it's a bug in llvm-config for '--libs' to return the dylib
for libraries that are not included in it. However, fixing this
triggers further bugs and it does not make much sense to put more effort
into this deprecated tool.