US says fight against ISIL will take time