Merge pull request #51 from pw374/master

fix https://github.com/ocamllabs/opam-doc/issues/50
Merge pull request #53 from pw374/master

fix https://github.com/ocamllabs/opam-doc/issues/52