use main-name for named-amd and global builds