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.