fix boost warnings when building using clang