Fixes https://github.com/llvm/llvm-project/issues/189158 by copying the required dependencies of lldb.