Convert version num in header to semantic version