Fixing AMDify to build from ids