minor fixes for the ocaml-openflow switch to work