Updates smarty template engine to v3.1.18