[ET Trac] #2949: use c99 bool instead of typedefing our own