AJCORE-269: Cleanup behavior of BD=on

Only link the bundled daemon to executables when BD=on; don't link bundled
daemon to shared libraries.

Change-Id: I79e2a9c47ccf14c9e46950398c6365fb09485059