Fixed compilation of minimax.