Provide a build option USE_LLVM_SHLIB to help #2494

This makes it possible to link LLVM as a shared library. If this ever becomes the default, the install targets will need to be updated to also distribute `libLLVM-3.x.{dylib,so,dll}`.