Fix many test cases. Mostly the problems have been due to linking against the shared libboost_unit_test_framework which has no main function. If one neeeds a main function from boost one has to link against the static version of this library. There is also only a static version of the test_exec_monitor library, so one has to link the executables against this version.