Fix warnings noted by clang