Fix C99-related compilation errors.

Fixed by fixing C-file syntax instead of fixing compiler options, since merely adding new compiler
options fixes the build, but produces new warnings.