Make dependency in AMD adapters relative.