removing tee pipe
adding compiler selection (clang/gnu gcc)
remove undefined cmake variable