fix Gillespie on Windows