only use the major.minor LLVM version in Makefile

ignore patch version and svn version when deciding libraries to link against