windows thread pool build fix