fix ARROW is not defined.

revert the previous change.