Fix seh main wrapper
Merge pull request #1991 from yebblies/fixseh

[DDMD] Fix seh main wrapper