Compile-fixes for visitor_j.ml

No guarantees on correctness though!
More compilefixes for ast_to_flow2.ml

Still does not compile.