Make missing dependency warnings more useful