gcc 4.7.2 complained about the bool type.