Fix C++ exceptions being suppressed by mono on win64.