Change HZ in speed to rely on sysconf() if the clock tick is available