Fixed fast_dijkstra crashing on Windows machines