fix dmg build