simplified checking for valid llvm-config command