Disable redefinition of functions
Fix test case to use llvm-link instead of llvm-ld
Silence warning of deprecated PathV1 usage