updates for use with Rcpp 0.11.0