Updated to hpg-libs c++ refactoring.

in a fresh clone, to build hpg-libs and hpg-variant:

git submodule init
git submodule update
cd lib
scons
cd ..
scons