include stdarg.h in log.h, since it's necessary
only define _POSIX_C_SOURCE and _BSD_SOURCE if they're not already defined