Removes dmg dependency