More ifdefs to avoid errors with no eigen3 available