Allow different build modes for LLVM coexist

In case different build modes exists for one LLVM installation, use the first one.