Remove calls to deprecated STR2CSTR