older cabal-install sometimes omits the .inplace database, workaround