more compatibity pain with rcpp 0.9