[BUILD] fixed mac dmg package generation w.r.t. to new install scheme

 * moved general package defs to separate file