The president compared Islamic radicals to dictators from the past including Hitler and Stalin .