Fixed an issue where the LDFLAGS were not correctly gettting modified to be additive.
Fix the getCompilerVersion() function to do the right thing with clang 5.0 which now says "LLVM version" instead of "clang version".