Eigen rowmajor compatible

Signed-off-by: Rainer Kuemmerle <kuemmerl@informatik.uni-freiburg.de>
post processing of the Eigen column major patch
cmake_policy for newer versions of cmake