fix breakage resulting from WAKLOG_UNSET patch