Add #ifdef in bootlogd.c to avoid gcc warnings about unused variable on non-linux...