better detection of existing boost libraries