removed build warnings, fixed Eigen cmake stuff