Fix an assertion when cxx_str followed a typeconstruct