Properly increment version number.