fixes #215 - add AMD support