Changed the project to support AMD