[IBDIAGS] make it buildable.