Funny, but I recall another President who essentially said the same exact thing - that the US was not at war with all Islam - only those terrorists who committed atrocities according to their perverted take on reality.
We are not at war with the Afghani people, and we are not at war with Islam, which most Americans respect as a religion of peace.” — George W. Bush, 9/16/01
Repeated for effect: