fix ksp/tsp crash on Windows.
Merge pull request #142 from sanak/develop_issue137_1

fix ksp/tsp crash on Windows.
fix dijkstra/kdijkstra result edge/cost issue on Windows.
Merged in some WIN32 changes.
Fix for issue #147/