fix broken AMD support

closes #13