Added guard in case a c++ compiler is used