Support pkg/dmg packaging on Mac