Include stdbool.h file and replace int by bool, 0 by false, 1 by true, when relevant