added clang support to build.sh