mainly cmake stuff, but in persistance the wcstombs is not supported on android, and in sift.cpp there was and ifdef that affected arm and this causes undefined symbols on android.