fix start_dwarf_count for latest win 0.40