Make compiled plugin tests work again
Build compiled plugin tests with scons
Add -lm as bd_utils library's dependency

This dependency got lost during the transition to scons.
Build compiled library test with scons

Everything else is build with scons now.