Updated build script to assemble an AMD-friendly core script.