Another attempt to fix the random multithreaded dependency compilation issue with wtypes.h.