fixed make dist on macos