Jump through some hoops to make the Windows SEH exception stuff happy