build C++ unit tests