Eigen::Ref support: fix compilation of test suite.