add better error messages for cc target probe