Fixed clang compilation errors
Fixed clang compilation errors

[Feature]       Fixed clang compilation errors
[Cause]         C++ flags were being passed to the C compiler
[Solution]      Pass C++ flags to the C++ compiler only
[Verification]  Build using clang

Change-Id: Ie9c7abfaea0ef47381bc045353d1ea3724a19671

Samsung/vasum,Samsung/vasum,Samsung/vasum,Samsung/vasum