Remove useless bits.h
Remove header pollution in bdlib.h