Does the place where you purchased the wood kiln dry their lumber before they sell it? This is the most effective way to kill pretty much everything living in the lumber - hot and dry environment will desiccate the little buggers. My guess is that it was not kiln dried. Not sure how much lumber you have but you could bag the wood and add silica gel dessicant pads and let it bake in the sun for a few weeks in a tightly sealed bag. You can buy silica gel desiccant packs lots of places.
If you have too much lumber I'd ask the seller to put it in a kiln as my first option.
If you have too much lumber I'd ask the seller to put it in a kiln as my first option.