add support for amd deps in shim