Fix multiply defined symbols errors when using llvm-link