Fix CMake configuration when using the android-cmake cross-compiling toolchain file