Fixes: #2663 Removing smarty2 detection