Fix #829

$ ocaml_version=foo && opam config var ocaml-version
foo
Merge pull request #833 from samoht/master

Fix #829