Added C99 booleans to commons.h and removed macros