Management of DefaultMode in libstruct