Less ugly C++ startup