Added -std=c99 to C flags