Fix CMake warning caused by removal of boost dependency when not actually building boost from source.