Fixed some warnings from Clang