Lebanon president vows to fight terrorism