make it compilable under android-ndk-r9

With this commit it can compile under android-ndk-r9 default settings