I incorporated your patch in my 5.5-compatible version of Janestreet libraries (see Jane Street Libraries (base/core/async/etc) with 5.5 )
You may want to use this until the following bug in incremental is fixed in the Jane Street version: Recompute heap does not work in non-oxcaml compiler · Issue #20 · janestreet/incremental · GitHub