Fix warnings from clang compiler