cpu boost: backport missing functions from 3.4