disable gnu++11 option

C
set(CMAKE_CXX_EXTENSIONS OFF)
Source

Also in C: