This fixes the test on MacOS. Without this change the SDK sysroot is not set and so the library path is incorrect and the 'System' library cannot be found. Test with https://github.com/llvm/llvm-project/pull/182501 so that the sysroot variable is correctly set. Assisted-by: Codex