Fix windows dependency upgrading.