Rebuild and increment version number.