compiler, talloc, tap, tdb2: use #if instead of #ifdef.