Changed AMD detection to follow standard approach
Merge pull request #10 from ifandelse/master

Changed AMD detection to follow standard approach