make Swipe AMD compilant