Change check to add -std=gnu99 if the compiler doesn't support without options.
Like gcc.