Duality and supersymmetry breaking in string theory