make a shared library of the main sources
lot of stuff commented out (couts). fixed problem with TBB headers