CRM-15156: remove templates_c dir on upgrade

CRM-15156: remove templates_c dir on upgrade