fix clang invocation
fix clang warnings