Normalize version number