Change native-activity to shared library in cmake. Fixed egl_helper dependency.