adapt to proposed changes in Rcpp/Timer