McCain doesn't rule out preemptive war