Fix bool typedef to bool macro