Fix Smarty paths