Test and set std=c99 mode on supported platform.

Also setting Wextra in development mode.