Fix compiler warnings raised by clang++