Scriptures are infinitely malleable. Take Christianity. It's a religion built around a rabbi who said that it was easier for a camel to get through the eye of a needle than for a rich man to get into Heaven, and yet it is also the faith of millions of rich people who strive every day to get richer. It's a religion built around a rabbi who said that when someone steals from you, you should give him more of your stuff, and that when someone strikes you, you should offer the other cheek as well, and who said that only he without sin can cast the first stone. And yet it is also the faith of countless "law and order" types who want to throw ever more criminals behind bars or into the electric chair. It's a religion built around a rabbi who clearly said that not one jot or tittle of the Law would fall away, and yet it is the faith of over a billion self-described Christians who think it's perfectly OK to ignore whole portions of the Law, dealing with dietary customs, keeping Saturdays sacred, and holding various religious feasts and observances. Simply by engaging in a little mental-gymnastic work, it's easy enough to get those scriptures to mean whatever the hell you want them to mean.
And so why should Islam be any different? To one Muslim, atomic weapons can be a forbidden thing -- an insult to Allah himself.... while, to another, they can be an important way to protect the ummah from the aggression of the infidels, who will crush them under their heel if not sufficiently deterred by military strength.
I've found that there's little point focusing on what a religious text actually says, since the contents of those scriptures do not, in practice, limit or even guide the beliefs of those who like to claim they follow the scriptures. It might as well be a random series of letters for all the real difference it makes.