Workarounds for Rcpp 0.11.0

This should allow your package to build with Rcpp 0.11.0.