thread_name.hpp pulled <windows.h> (and WIN32_LEAN_AND_MEAN) into every file that includes aux_cpus.hpp; on Windows the function is now defined in pool.cpp, which already includes it. The PLE reader and the direct file readers are not named (they do not link the pool).