If you're giving it special abilities above and beyond it's status as a construct, then according to the Improving Monsters part of the SRD, at a minimum that's going to add +2 or more to the CR.

Standard DC for spells is 10 + mental stat you cast from modifier + spell level.

Even if you set it to cast off str or dex, that's still at best 11+ spell level.