Remove extra std::cout
Make lib shared