Add boost dependency to CMakeLists.txt.