contrain extprot with ocaml version
Merge pull request #3117 from camlunity/master

constrain extprot with ocaml version