CMakeLists.txt: Treat Boost paths separately

Include feedback from @carstene1ns.