Fixes for clang and remove more boost libraries.