=fixed threading on windows