Add include for cmath.