fix(realpaver): fix clang warning

provide "-x c++" CXX_FLAGS for realpaver build
fix(realpaver): fix clang warning