Fixed some clang warnings