Fix build with Rcpp versions older than 0.10.5