Fixup dependency checking.