(rule
 (enabled_if (< %{ocaml_version} "5.0"))
 (action (with-stdout-to compat.sexp (echo "(\"domain\")"))))
(rule
 (enabled_if (>= %{ocaml_version} "5.0"))
 (action (with-stdout-to compat.sexp (echo "()"))))
