fix compile error when building w/o eigen3