hector_exploration_planner: added ifdef guard to compile successfully in
groovy and hydro