fix newer clang warnings