Make sure compiled templates are deletable

Make sure compiled templates are deletable