Trump says other countries will need to fight Islamic State