Fix android build.
Merge pull request #50 from xyzz/android-build-fix

Looks like it can't break anything, feel free to sumbit Android pacthes since you have direct access ;)