Added patch to fix differences in exception handling behaviour between Wine and Windows.