Force the conversions from str to char* to be explicit.