Work around a build failure due to windows.h macro.
Use a bit field instead of a mutex-protected bool array.