another hack to make non forkin mulitporocessing work using pyinstaller on macos