add vendorhack into deps and detect it automatic

Change-Id: Ib925e8db9b1e3a5b474f4d088f22bb3b24e64287