fixed warnings with clang++ and boost version > 1.53 (thanks to Peter
Caspers)