'Undefined symbols for architecture x86_64' for libtorch in swift unit test

@xta0 Seems like the exact issue I’m experiencing. Thank you!