> `static_assert(sizeof(ImportEdge) == 20)` works

unfortunately, that's going to be a disadvantage of the Windows port. MSVC does not support packing different types into a 32 bit word. The overhead on Windows will be inevitably higher.