only do llvm-nm in linking if there is at least one ar file
remove llvm-nm/dis checks for bitcode in is_bitcode