Point defects in B2 compounds