fix dijkstra/kdijkstra result edge/cost issue on Windows.