Improve CCodeOutput to add utility variables