Fixed some Android JNI bugs.

Fixes https://haxenme.atlassian.net/browse/NME-231