Fix shared Boost library linking