Fixed some issues with AMD compatibility with the 3.0 release.