Fix wrong declaration of strnchr()
Add config cf_cmp_ functions