fix compile error when eigen3 is not available
fix compile error occurring with octave 3.8