add smarty bc bcond building SmartyBC as Smarty class