Fix SEH handling for Win32