Add trap mechanism into the standard library to empower callcc