Rcpp 0.10.7 compatibility (#92)

These modifications should hopefully fix the errors seen in some of the other CRAN packages depending on Rcpp.