changed from clang to clang++
redefined build()