Build: handle RNG versioning better in xml Makefile
This revision correctly treats 2.10, 2.11, etc. as higher than 2.9.
It also parses numeric versions only, and hardcodes "next" as the
sole non-numeric version rather than relying on "sort -un" picking "next".