Fix LLVM shlib name

When LLVM_VER=svn the library is named e.g. LLVM-3.6.0svn, so
use LLVM_CONFIG to retrieve the version number.