On the non-vanishing of certain Dirichlet series