Makefile: link with libboost_unit_test_framework.so
unit tests: modify defines and includes for dynamic linkage