Avoid NaN when computing fractional iteration count.
Update build.