Fix a bug based on reviews from Sonicadvance1. https://github.com/taka-no-me/android-cmake/pull/23.