build fixes for clang