Fix warnings from clang compile