fix amd
Merge pull request #1 from gabrielmancini/master

fix amd