[spgridFactory] added constructor using overlap
Use #if instead of #ifdef

HAVE_EIGEN was set to zero for me.