Fix all the warnings produced by clang