Fixed resolving AMD dependencies