Update build function
Fix: cpufreq range