Fix task thread pool for Win32.