Replacing sig setjmp/longjmp with default functions.
fixed a typo with the setjmp function.