ensure templates_c directory in smarty is pre-created to prevent run error