Add -pedantic and -std=c99 as build flags when running C tests.