Add AMD support.

Update minified build with AMD support.
Merge pull request #48 from alejandrogarciaiglesias/amd

Add AMD support