be friendly to older Rcpp and eliminate one warning