please do this with one #ifdef
#if defined(HAVE_COLPACK) && defined(HAVE_EIGEN3)