hot fix until a new version of Rcpp is out. closes #1