Add checks for boost_system and boost_filesystem.