include global.hpp macro for rcpp