Added static library target

Fixes #7