This patch fixes linkage for platforms that don't implement std::exception_ptr, as such setup was overlooked in #65534.