Extract make_cstr and reuse it in transl_extension_constructor