Hack server wedges itself on C assert - use a custom assert that raises ocaml exception