Fix check for have_callback_support

Fixes compilation for R14 (R14B04 to be concrete) when tsloughter/providers#2  will be merged.