TryCompile should forward the macOS deployment target
Probably similar for iOS and other related targets.
The issue is that when running with a newer host OS, compilers may not recognize the flags CMake sets by default for -mmin-macosx-version=
, but a manually set one would. This should be forwarded when testing compilers for features when using Apple-like targets.