Slight customization to allow NDK compilation as a dependency of NDK
project.