prints more info
added way to compile shared library