Remove internal use of auto from temp_var_type when creating temporaries Closes #152 See merge request !297