lmbd namedb: ifdef fixed