Catch exception when cpufreq is not supported on a system