make it compile on dune master

there seems to be a relatively unimportant API change in what will become dune 2.4 which was not widely discussed. (read: I was not aware of it.)