Trying to fix TEMPLATE_DIRS issue.