If TEMP_PREFIX is just a define of a c-string constant, then you can just use MCSTR(TEMP_PREFIX), rather than making a stringref.