Add AMD support. #77