Strange error in dune building

To make it easier, I created an issue to track this in GitHub instead: https://github.com/ocaml/dune/issues/2006

See also the Dune: depend on non-Dune libraries in the workspace