Update boost.thread check for Linux to include the required boost system library.