Dependency callback gains support for host and target platforms