Update to Smarty 3.1.18