Fixed compilation issue.

Forgot to pass in data.
Added enable native mode. #1