Corrected checks on multiple boost libs