js_of_ocaml: fix dependency to 'str'