imake: Patch to work with superenv