fixing builder / AMD support