bson: better fix for the dependency problem with js_of_ocaml and deriving
Merge pull request #2627 from planar/bson-deps

bson: better fix for the dependency problem with js_of_ocaml and deriving