fixed Rcpp exports and removed c++11 stuff (auto)