Fix unresolved compilation errors with legacy harvesters