Replace __defineGetter__ with defineProperty.

Improve compatibility with IE.