Fix LLVM

$(llvm-config --ldflags) was passed to the compiler but it needs to be
passed to the linker instead (-L and -l flags).
Merge pull request #1422 from randomstuff/fix-llvm

Fix LLVM