[config] silence failing auto::inline probes

Use run_cc_capture and actually check the result. Fixes GH #1118.