fixed issues with importing/linking rcpp and other packaages