sample c++ lib to use for port tests