fix LLVM_VERSION for minor versions != 0

llvm version 3.4.2 got converted to 3_4.2 and not 3_4 as intended.

see https://bugs.gentoo.org/show_bug.cgi?id=515114
Merge pull request #807 from ottxor/master

fix LLVM_VERSION for minor versions != 0