Automatically add missing dependency packages.