[C] use c++0x option instead of c++11 when g++ version is old