How to compile with continuations?