fix conditional compilation for ddlog;