Adding Android NDK compatibility