[boost] [cmake] Problem with dependencies for configure checks