Modify sources to use the C99 standard's improvements (loop for and bool type).