cpu boost: backport missing functions from 3.4 (DerTeufel)