fixing amd in builder