Use String.prototype instead of Object.prototype in defineProperty

The commit 6045347a38dd93875e0b3b48f9b5e65743b38ea8 wrongly changes the prototype of `Object` instead of `String`.