added static library target.  fixed crash on nil address string.
Merge pull request #1 from mralexgray/lib+crash

added static library target.  fixed crash on nil address string.