Finite groups with few d^{th} roots of 1