Wrap version numbers with Gem::Version

This may be hack-y, but it's the simplest possible solution I could think of.