fixed waf builds for clang