[NDK] (minor) Adjust to pass GNU C++ compiling.