move MacOS bundle generation to a profile that's only activated on Mac platforms otherwise build fails in Linux