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

I fixed remained #137 issue, and confirmed that all test passed on Windows ming64.