Please remove `--root $(CURDIR)` from make
Can you please apply the following patch:
I have itauto in Coq Platform with this patch on all platforms since a while and haven't heard of any issues. Also I would think that the current directory is anyway the default root of dune.
On Windows it does not compile without this patch because this is a cygwin MinGW cross build where make is cygwin and dune is MinGW so dune does not understand the cygwin absolute path provided by make.