fixed macos bundle build