hercules: fix dependencies

Change-Id: I3d34547034c88a687e55a665579a149991ab61b5