add missing amd define