Fix cpufreq compile error