Make version a valid semantic version number.