fix: work around a bug in opam build process

See https://github.com/OCamlPro/opam/issues/568