added longjmp and compiling this stuff