CMake scripts and patches for libraries using CMake and the Android NDK