Adding missing -std=c99 flag for files that won't compile without it