Fix Mac nightly script to gen changelogs