Workarounds for Rcpp 0.11.0