Fix boost compile errors with Clang 3.4