Added check to see if we're compiling C or C++