Make smarty2 compatible with TYPO3 6.2