Achieved armadillo functionality but requires setting export PKG_LIBS="-larmadillo" and export PKG_CXXFLAGS="-larmadillo"