Merge pull request #78 from avsm/master

improve portability and preserve current switch
Make opam-doc more relaxed about errors
Merge pull request #79 from lpw25/master

Make opam-doc more relaxed about errors
release 0.9.1