Fixed for latest OPAM API changes
Merge pull request #13 from AltGr/OPAM-API-change

Opam api change