Refactoring CMake files to download and build boost dependencies as an external project.