Add ./configure support for Android
Disable dynamic api since it may be causing problems on Android