using clang as default compiler. Getting basic thread mechanism to work and dump messages on stdout