Fix build on Windows due to missing queue macros.