Fix compilation with boost_unit_test_framework.