make Flags c_ulong