check that core of C++ build is usable without external libraries