Change standard from gnu99 to c99