build: fix more clang warnings