Update to latest smarty to fix problems with PHP 5