cmake: link against boost_atomic too