build fix for am64x