Fix check for have_callback_support

This fixes compilation for R14 (R14B04 to be concrete).