added conditional to check for the environments c compiler.