Add an ocaml-opt-available variable
Closes #979