Try adding move constructors to make std::vector<PathObj> more efficient
fix compilation on GCC