Fix android stubs.
Merge pull request #112 from whitequark/android-fixes

Fix android stubs