make it compilable under android-ndk-r9