Fixed a few clang warnings