Generator: add boost detection to the cmake file