Fix logging macros to comply with C99 standard.