compile updates for clang