export entry point for android

Export main entry function when build target is android.
This should be replaced with "proper solution" (See #4404)