Link c++ library to spec test