Fixing build on 64 bit simulator by using __builtin_trap() to stop the debugger