Fixed some clang compile warnings