tests/CMakeLists.txt: Add missing boost-thread check.