Fixed the log.h issue compiling on 32-bit Linux