configure: Check llvm-config --shared-mode