(Android) Build fixes for NDK r9+ toolchains