make sure C compiler conforms to C99 standard
this is needed e.g. for constructions like for (int i,...); by default some compilers in older Linux systems, eg Ubuntu Trusty, still default to C89, giving a build error. This fix will try to make sure that C99 is used, with an extra option.