added c99 flag to compiler flags