Upgrades smarty to 3.1.18