added shared library target for linux.. Tried to add one for osx as well..