Fix: build error when --enable-debug was specified.