Update CMakeLists.txt for boost compatibility