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: Ib83f7825f667a2499edfc801d977e3a72fcb51ff