Calling std::move on itself causes that the first polygon is empty, which results in disabling this feature on Linux. This was fixed before, but I accidentally reverted it when AvoidCrossingPerimeters was moved to separate file.