Suppose this function is not continuously differentiable. If $f$ is continuously differentiable then all is well and the result follows without difficulty.
Suppose that were not the case, $f'$ is discontinuous. We know that there can be no "simple" discontinuities of $f'$, one where both left hand and right hand limits of $f'$ exist but do not satisfy the criteria for continuity. A proof can be found, for example, in Rudin.
Since it is not possible for $f'$ to intersect the x-axis or "jump" across it, it should either be strictly positive or strictly negative.