update cppcommon for endswith in str_funst.h