Minor fix on making dmg