check consistency between shell paths and cmake generator