use bool type

since julia bool type is 8 bit, we have to use a 8 bit type in c.