Fix all warnings reported by clang