Fix compilation after length alias removal