cmake HAVE_STRLEN examples

Unidata/netcdf-c CMakeLists.txt :1317

CHECK_FUNCTION_EXISTS(strlen  HAVE_STRLEN)