Fix Android 2.x bug, defineProperty is not working correctly