Only compile and make package when create dmg is set.