Turn on warnings for .c files
Fix compilation warning on OS X