My son always played with boys in daycare and preschool though he got along very well with girls. In K, he had nothing in common with the boys there and there was also general backlash against him because he was very verbal and very rule following and very "bright" that he stood out. None of the boys wanted to play with him. He hung out with the girls who were very verbal, read a lot of books. We changed schools where there is a peer group of boys who read a lot, who don't play video games like him, who like math and who also like team sports and now, he is back to making friends with boys. My son did not stand out so much in the gifted classroom he is now in and hence there is more in common with other boys.
So, I recommend that you find avenues where he can meet boys with similar strengths as him (some examples are robotics club, chess club ). That could bring more friends who are peers.