disable the built-in exception handler

Index: rts/System/Platform/errorhandler.h
--- rts/System/Platform/errorhandler.h.orig
+++ rts/System/Platform/errorhandler.h
@@ -8,6 +8,8 @@
 #ifndef _ERROR_HANDLER_H
 #define _ERROR_HANDLER_H
 
+#define NO_CATCH_EXCEPTIONS 1
+
 #include <string>
 #ifndef NO_CATCH_EXCEPTIONS
 #include <sstream>
