Use llvm's ldflags to prevent linker errors