working minimal amd build