Build: Fixup 428d510f7664. Use check_cxx_source_compiles instead of try_compile