work around RCPP_NO_SUGAR