Changes to allow hard-linking to work in inc_recurse mode.