apply patches for Rcpp(0.11.0)