Fix compile warning with --cfg require_route_graph_test