fix linking Boost.Test issue on Mac OS X