Fix name conflict between `tm' macro and `struct tm' from time.h