some mods to use a nuget script on macos