Fix Boost linking issue.

Went back to including the BOOST_ALL_DYN_LINK compile definition.