Mirage 1.2.0 "dont call OPAM directly"

Based over @samoht's changes in #251