Change version to rubygems expected format.