build some amd libraries