Improve handling of native_app_glue dependency in Android samples
Merge pull request #878 from apavlenko:better_glue_search