Windows compile fixes (bots)