Fix version comparisons for 10.10

A simple change really.

But then, I thought I'd be clever and write unit tests. Turns out they're a mess in XC6. I'm half way to getting them right...