Made source files AMD-compatible.