Actually, Westwood invented the term real-time strategy - so yeah, it was the first one. But it's true, there were games before Dune 2 with similar elements, but they don't change what Dune 2 did.
I'm aware that Brett Sperry of Westwood "coined" the term, but that doesn't change the fact that there were quite a few earlier games with the same concept, just less evolved.