Changed gcc compile statement to use C99