Supersymmetry breaking without O'Raifeartaigh potentials